package com.example.hotelrear.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hotelrear.entity.Config;
import com.example.hotelrear.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author FengXiao
 * @since 2023-08-28
 */

public interface UserService extends IService<User> {
    public User login(User user);
    public User regexUsername(String username);
    public User regexPhone(String phone);
    public boolean regist(User user);
    public boolean updateUser(User user);

}
